<?php
require_once 'Zend/Form/Decorator/Description.php';

class Extension_Form_Decorator_Description extends Zend_Form_Decorator_Description
{
    protected $_id = null;

    public function setId($id)
    {
        $this->_id = (string) $id;
        return $this;
    }

    public function getId()
    {
        if (null === $this->_id) {
            $id = $this->getOption('id');
            if (null !== $id) {
                $this->removeOption('id');
            } else {
                $id = '';
            }

            $this->setId($id);
            return $id;
        }

        return $this->_id;
    }


}
